package cn.cdtu.tibetplan.pojo;

import java.util.List;

public class PageResult {
    private long total;
    private List rows;
    private long currentPage;

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }

    public PageResult(long total, List rows) {
        super();
        this.total = total;
        this.rows = rows;
    }

    public PageResult(long total, List rows,long currentPage) {
        super();
        this.total = total;
        this.rows = rows;
        this.currentPage=currentPage;
    }

    public long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(long currentPage) {
        this.currentPage = currentPage;
    }
}
